package com.ziyueyuwen.xiniao.spi;

import com.ziyueyuwen.xiniao.bean.homework.AnswerData;
import com.ziyueyuwen.xiniao.bean.homework.QuestionInfo;

import java.util.List;

/**
 * @author jun 2018/12/18.
 */
public interface QuestionTypeService {

    /**
     * 保存答案
     *
     * @param questionNum    Integer
     * @param questionInfo   QuestionInfo
     * @param answerData     String
     * @param answerDataList List
     */
    void saveAnswer(String answerData, Integer questionNum, QuestionInfo questionInfo, List<AnswerData> answerDataList);
}
